﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MenuSearch.ascx.cs" Inherits="webapp4U.UI.Controls.ControlsSearch" %>
<%@ Import Namespace="webapp4U" %>
<%@ Register TagPrefix="webapp4U" Namespace="webapp4U.UI" %>

<table width="185" border="0" cellpadding="0" cellspacing="0" class="photo-frame"
    align="center">
    <tr>
        <td class="topx--">
        </td>
        <td class="top-x-">
        </td>
        <td class="top--x">
        </td>
    </tr>
    <tr>
        <td class="midx--">
        </td>
        <td bgcolor="white" style="padding-left: 6px; padding-right: 6px" align="center">
              <table width="100%" border="0" height="100%" cellpadding="0" cellspacing="0">
                <tr>
                    <td bgcolor="#f0f0f0" valign="top">
                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td style="padding-top: 1px" bgcolor="#ed43b0" height="22" align="center">
                                    <span style="font-weight:bold;color:#ffffff"><%=ResourceManager.GetString("Search") %></span>
                                </td>
                            </tr>
                            <tr>
                                <td align="center">
                                    <table width="96%" border="0" align="center">
                                        <tr>
                                            <td align="left" style="padding-top:5px;">
                                                <asp:TextBox runat="server" Text="keyword" ValidationGroup="MenuSearch" ID="txtKeyword" Width="150" EnableTheming="false"  CssClass="Textbox"></asp:TextBox>
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left" style="padding-top:5px;">
                                             <asp:DropDownList ValidationGroup="MenuSearch" runat="server" ID="dlGia" Width="155px" CssClass="Textbox">
                                                <asp:ListItem Value="-1" Text="Giá cả" Selected="True"></asp:ListItem>
                                                <asp:ListItem Value="1" Text="< 1 triệu"></asp:ListItem>
                                                <asp:ListItem Value="2" Text="1 triệu - 2 triệu"></asp:ListItem>
                                                <asp:ListItem Value="3" Text="2 triệu - 3 triệu"></asp:ListItem>
                                                <asp:ListItem Value="4" Text="3 triệu - 4 triệu"></asp:ListItem>
                                                <asp:ListItem Value="5" Text="4 triệu - 5 triệu"></asp:ListItem>
                                                <asp:ListItem Value="6" Text="5 triệu - 6 triệu"></asp:ListItem>
                                                <asp:ListItem Value="7" Text="6 triệu - 7 triệu"></asp:ListItem>
                                                <asp:ListItem Value="8" Text="7 triệu - 8 triệu"></asp:ListItem>
                                                <asp:ListItem Value="9" Text="8 triệu - 9 triệu"></asp:ListItem>
                                                <asp:ListItem Value="10" Text="9 triệu - 10 triệu"></asp:ListItem>
                                                <asp:ListItem Value="11" Text="> 10 triệu"></asp:ListItem>
                                            </asp:DropDownList>   
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left" style="padding-top:5px;">
                                                <webapp4U:ddlChatlieu runat="server" ID="dlChatlieu" Width="155px" CssClass="Textbox" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="left" style="padding-top:5px;">
                                                <webapp4U:ddlCategory ID="dlCategory" runat="server" ValidationGroup="MenuSearch" Width="155" CssClass="Textbox" />
                                            </td>
                                        </tr>
                                        <tr>
                                            <td align="right" style="padding-top:3px;">
                                                <asp:ImageButton runat="server" ID="btSearch" ValidationGroup="MenuSearch" ImageUrl="~/Images/btSearch.gif" OnClick="btSearch_Click" />
                                            </td>
                                        </tr>
                                    </table>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </td>
        <td class="mid--x">
        </td>
    </tr>
    <tr>
        <td class="botx--">
        </td>
        <td class="bot-x-">
        </td>
        <td class="bot--x">
        </td>
    </tr>
</table>


